import request from '@/utils/request'
export const getequiptreeapi = () => request.get('/ecm-microservice-biz/ecm/tags/equip/gate/set/tree')
// 获取设备列表信息
export const getequipListapi = params => request.get('/ecm-microservice-biz/ecm/tags/equip/gate/set/equipList', { params })
// 保存
export const postequipsetbindapi = data => request.post('/ecm-microservice-biz/ecm/tags/equip/gate/set/bind', data)
// 能耗排名曲线
export const getusagelineapi = params => request.get('/ecm-microservice-biz/ecm/tags/equip/rank/data/usage/line', { params })
// 能耗排名表格
export const getusagelistapi = params => request.get('/ecm-microservice-biz/ecm/tags/equip/rank/data/usage/list', { params })
// 用电构成
export const getcompositionapi = params => request.get('/ecm-microservice-biz/ecm/tag/overview/electric/composition', { params })
// 用能趋势
export const gettrendlineapi = params => request.get('/ecm-microservice-biz/ecm/tag/overview/trend/line', { params })
// 同环比列表
export const getcomparelistapi =params=>request.get('/ecm-microservice-biz/ecm/tag/overview/compare/list', { params })